make panGesture a public property