Finishes slideshow functionality