restore nav bar safari bug fix