write my own fitBounds function to replace Google Maps dysfunctional one