add disableDeviceResize