how to stop a dog changing direction