animation direction for error