touchpad demo: add realtime gesture recogition