fixed swipe indexing