some refactor
- checking if slide is being animated with external function
- making use of "-=" and "+=" syntax of jQuery