Extracted navbar code from bootstrap page so it can be reused.