Some minor changes and refactorings for the nav bar.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>