Add support for swipe gestures from lpm state

Why do you check for manhattan distance (`(x*x <= 1.0f) && (y*y <= 1.0f)`) here, but for pythagorean distance (`(x*x + y*y) <= 1.0f`) above?