fixing slideshow preview on template