reset index of each div insinde other div jquery after delete code example
Example: jquery move element to another without losing events
$('#element_to_move').appendTo('#PARENT_at_destination');
$('#element_to_move').appendTo('#PARENT_at_destination');