Addition of dragging behavior.