Updates code to allow nested drag drop elements.