gestures: use listener for action processing

Change-Id: I65b6db0837e2538b773b5b6bd20897091539852a