Applies KenBurns fx to slider and refactored some JS