adds clearInterval to slideshow