fixed forward and backward

-changed forward and backward y-axis conditionals