improved touch event handling for getting center of pinch