collapse the searchform on navbar