sample: add pinch/unpinch to sample app

Signed-off-by: Arnav Gupta <championswimmer@aokp.co>
lib: document onPinch and onUnpinch