updated script.js - slideshow reset