Fix tracking of scroll position across toggling consoles.
Fix tracking of scroll position across toggling consoles.

Now if we are tailing a log, it will continue tailing the log when we switch back.
jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab