integrated the pinch gesture recognizaer