We want the dog to bounce back and forth and face the right way. How can we change this code so that the dog faces the right way?