Quick fix for swiping issue on iOS8.