Set the title and left nav from pages
Refactored left nav logic to header bar