Drag and pull the edges of the rectangle