fixes #2 Added in safety 'dblclick' event handler in drag event.

One way which isn't ideal but works for the moment is to add a double
click handler that cancels the drag event and calls endDrag.

I noticed that whenever I encounter this bug I try and double click my
way out of it so seemed fitting.