panGesture is mostly working