style(animate demo): code cleanup