now show and hide boxes depending on focus of search box