Use scrollIntoView instead of scrollMaxY