fix slideshow to work with Smooth Scroll Extension