Added global variable to store the base transition length
Longer transitions