finish page navigation and layout