Added animation functionality

true story :)