Add navigation bar and put content into a panel.