Adding navigation buttons to slideshow