Add animate on click to slider