Fix swipe-to-refresh bug on switching tabs. https://redmine.stoutner.com/issues/643