add animation to main slider.