Added rotation by touches and panning by two finger pans