Move bit of search view HTML to make it not repeat.