added navigation for pages