added navbar to index and photo pages