implement drag and drop for treatments