                                             element: el
                                             after: last_element
                                         last_element = el
+                                    prev_moved = true
 
                                     # next loop
                                     prev_node = node

                            pid = null
                            child_scope
                            prev_node = null
                            for item, index in list
                                item_value = item
                                item = item or {}

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