made modifications to create 1 page app
fixed view photo page