swipe optimizations