setting zoom level based on search results