Updated the workaround for swipe bug in iOS- to support usage of swipe on real devices