put pinchsync in and modified it, added pinch gesture recognizer