add animation direction

alternate/reverse/alternate-reverse