dealing with cross browser problem and navbar in chrome seems weird