update panGesture movement