replace to custom animation class