Correct dragging implemented.