Requested changes to animation

Fixed requested changes on Pull request #2