adding the nav bar for photo slideshow on index user