fix bug for panGesture and side method