recalculate map boundaries on screen resize