switching tabs, scroll to end