When I call `setState` inside those callbacks, the next time you swipe won't work.
When I call
setStateinside those callbacks, the next time you swipe won't work.