resizing map to fit in current window height