fixed panning gesture.