fix a quirk of the navbar on mobile