Fixes swiping movement