Changed logic on swipe up