nav bar fix to eliminate handlebars flicker