Dynamically build keyframes timeline