gestures: add swipe up and down detection

Change-Id: Ib2f7372b24b823123e3ac387d0b949eea7cb4702