More heuristics for display (or hide) the navigation bar