Fix animation in FF

FF requires a time unit for the transition duration and delay.