Maintain scroll position when switching tabs, enable console selection