modified index.html and added in js for the slideshow