add timeline for animation