z-index fix for navigation on iPad