Finally got animation working