Added page navigation to the layout.