fixed browser quirks for navbar
Fixed browser quirks for navbar