refactor(dom) scrollIntoViewIfNeeded: pCenter -> center