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
- making use of "-=" and "+=" syntax of jQuery