Moved slideshow scripts out of index.php into it's own file