walking left and right
enable sprites to walk left and right depending on location