set disableDrag option to true to disable the dragging