Fix collapsing of the navbar.