custom searchbar behivior like system do