adds nav bar and layout