adding new params workingon swipeSnap
adding new params workingon swipeSnap