toggles opacity of search icon with search bar visibility