slideshow bugfix