Pinch zoom fix

The existing code failed on iPhone Safari iOS 6.x - event.detail was
always 0 causing only zoom-out behavior.