added pauseOnHover to slider