Allow slide to set a duration of 0.