Refactored animations on the client.