show/hide elements in response to search