made animation duration a property.
Allows to call everything with or without animation