Added character animations for both left and right movement.