Added handling for Right/Left animation