removed old swipe code