fix for ipad safari in nav