Fix animation direction