fixing issue where swipe is too sensitive on ios