Adding the drag event