add animation to the platform