Fixes collapsing navigation when hiding the logo