Tweak typeahead navbar-collapse functionality