rearrange the search UI to better fit with small screen