avoid stacking of animations
- with the previous code, clicking twice in a slide before it was in background made it to repeat the animation, and getting extra left-margin