She may not have actually been running backwards. I've noticed that a lot of the villagers seem to be able to rotate their heads like owls. I found it rather creepy at first, but, now I'm used to it. So, it's possible that your villager was actually running forwards, but they had their head turned in the opposite direction.