fixed navbar issues on firefox