drag to resize, roughly done