bugfixing swipe