Improved resize option.