Fix a bug where the navigation would be hidden on tablet