add animation for timeline