Added property for animation duration