Fixed the number of swipes, I hope it works better