chose map or list view in search