Update scrolling mechanics for anchors.