Add swipe event for OS X
Add swipe event for OS X