Added AutoPause function

 - Autopause stops the autoplay while the user hovers over the carousel
 - Switched SetTimeout to SetInterval in autoplay function