Location of the preview panel jumps back to the beginning of the page

@davecan has a good write-up of what feels almost certainly the same issue here → Triggering preview mode in long docs causes preview to scroll to top of document in certain cases