Added togglable auto-scrolling to the preview panel