changed slideshow behavior