allow slideshow to be paused/resumed on hover/mouseout