fixes display of navigation menu