added slideshow patch