fixes #6, to allow adding more than 10 slides in a slider