grid layout fix for search results