Fix swipe issues on iOS

Fixes #202