moved slideshow script to index view
update photos by passing url parameter to portfolio view