fixes to slideshow