binding mouse function to drag and drop

binding mouse function to drag and drop