Stop inertia-scrolling when switching away from a tab.