added pinch zoom functionality