Edit function's resizing part is half way done. The last part to finish
is mouseRelease and mouseWheelMove