fixing left right animation