scrollTo is absolute whereas we need to use scrollBy

the value returned from iframe.getBoundingClientRect().top is relative to the viewport, therefore it doesn't work correctly when applied to window.scrollTo.