clarify containsElement
fix event handlers on items moved via animation
Fix removing a DomRange with more than one element.

Once you remove an element from the dom, it has no 'nextSibling'.
So don't remove elements while iterating over them.