finally dragging is working