Branch/reverse animations

This pull request will close Redmine #2801, where animations could not be played in reverse.

@davideaster @allisoncorey Please review.