some alignment fixes to custom animation