added number of touches parameter to pinch gesture