add updateResize and minWidth options