fixed navbar issues in safari