Infinite swipe forward and swipe backward

I’m building a calendar with a ion-slide-box container. There is only one state view that will be updated based on the swipe direction. I have an issue with the animation transition,it’s not complete it stop at half of the screen, even if the view gets updated.
What is the best way to accomplish the ‘infinite’ swipe forward and swipe backward animation?
Few lines of html code to help understand:

<ion-slide-box class="has-header" show-pager="">
        <div class="week-calendar">
            <div class="row"  on-swipe-left="onSwipeLeft()" on-swipe-right="onSwipeRight()">