improve window resizing maps