added animation to controller