First draft for gesture handling