Added an animation helping class