added index action in photos common view and into the topbar