reimplemented pinch to zoom