Improved auto tab scrolling