tweaked drag event handlers