                                 if node
                                     self.updateChild node.scope, item, index, list
                                     if node.prev is prev_node
+                                        if prev_moved
+                                            dom_inserts.push
+                                                element: node.element
+                                                after: prev_node.element
+
                                         # next loop
                                         prev_node = node
                                         last_element = node.element

                            pid = null
                            child_scope
                            prev_node = null
                            elLast = self.element_list.length - 1
                            for item, index in list
                                item_value = item

                                if node
                                    self.updateChild node.scope, item, index, list
                                    if node.prev is prev_node
                                        if prev_moved
                                            for el in node.element_list
                                                dom_inserts.push
                                                    element: el
                                                    after: last_element
                                                last_element = el
                                        # next loop
                                        prev_node = node
                                        last_element = node.element_list[elLast]
