map zoom and minor improvement on resize