Fixes #80 (swiping bug)