forked from: drag drop

Different ways of extracting drag and drop code and making it reusable.

MouseEvent.RELEASE_OUTSIDE did not seem to work on wonderfl, so it's been left out.