Making the dragdrop on the tree work