Find the Relative Left and Right Speed of a character?

Awesome! But im also getting values by walking backward , any suggestions?