Adding animations on sliders on multiple page