Implement a drag action.