switch bugged dragndrop api with mousedown and document.mouseup