Fix problem with swipe on refresh