better slideshow support