Added a 'autoDrag' parameter to allow users to control drag and drop themselves.