Dragging works now

Dragging works now. There is also a listener for rearranging. Still problem with flicker though