Fix typo in swipe.js

Improper use of comma