cosmetics
Support dragging and resizing.