Fix the appearance of the search form when the navbar is collapsed.