Fix problems with swipe to refresh. https://redmine.stoutner.com/issues/514