call prevent default when dragging, updated demo to use pause()/resume() methods