Add variable for transition duration time