Fixes the navigation bar