This is a common issue with conflicting animations playing. On your press A and D events you can add a condition 'jump animation is not playing', this means it will not try and play the run animation when you are the in air. Or in your case because you used a variable you can instead say 'isJumping=0' as the condition.
You also have another problem where you set idle to true when you start the jump so it will try and play idle and jump together so remove this. You should not have an idle variable, instead use 'player not moving' play idle animation.