got the direction working when moving left and right on the sprite sheet