Touchkit: How to react to touch gestures?

Hi,

we are currently developing a webapp for smartphones using vaadin and touchkit. Now I would like to react to some touch gestures. For example switch to another view when the user swipes from right to left or close a view when the user does a pinch gesture. Is there a way to do this?

Thanks.