Cross-browser swipe handler