Make Sparky change direction if at edge of path.