Fix nav bar flicker issue

hopefully fixed navbar brand flicker issue