         guard let item = item(at: currentIndex) else {
             return
         }
-
-        adjustInfiniteScrollContentOffset()
 
         previousIndex = currentIndex
         if !ignoreScrollEventsCallbacks {

    private func adjustInfiniteScrollContentOffset() {
        guard style == .infiniteScroll else { return }
        // If we are standing on the begining or end of the scroll view we need to place
        // the offset in the same spot (page) but  with a next and a previous page
        // within the scroll
        let lastPage = numberOfItems(inSection: 0)
        let lastPageOffset = CGFloat(lastPage - 1) * bounds.width
        if contentOffset.x == lastPageOffset || contentOffset.x == 0 {
            contentOffset = CGPoint(x: offset(forPage: currentIndex), y: 0)
        }
    }

            return
        }

        setCurrentIndex(currentIndex + 1)
    }

