Add pinch and rotate gestures.