adjusting navbar and photo views.