refactor results view and place partial