how to make history animation