remove swipe specific code