Slideshow not display properly