add animation timer