Add animationDuration property
Update project
Convert to modern syntax