Moved navbar above buttons as buttons references it.