Added ability to configure transition duration after initialization