Finally, got something working and "elegant" for resizing, althoght still incomplete. Not working for all handles.
Resize completed.