fix bug: swipe bug corrected