Add support for swipe gestures from lpm state

For future extensibility, it might be useful to have a single `gesture_t *` parameter (the `self`) passed as first argument to the notify function.