Don't set the style.width and style.height on resize.