search only works while visible