Fix slideshow plugin