more fixes for fitBounds and animation