Added animation reverse playing function