adds navigation and top pages