bugfix for slideshow - introduced when reloading slideshow