Update swipe.js

fix circle() to handle neg index