Was missing "." on the custom animation class. Added it.