correcting slideshow plugin