add drag and drop for canvas elements