index improvements to nested divs and scrolling/anchors