Dragging a rectangle,simple