Added a new delegate method, informs when search results is about to be hidden or shown