add pinch and pan