fix slideshow timeout