Improve nav logo-hiding iphone safari compatibility