refactor searchresultsview