Tighten indexOf
Add element.getParentIndex
Note re: toggling classes