Another try of swiping

vanilla javascript