Swipe event for Ractive.js