fixed navbar issues in chrome/safari