change layout for search