Dynamically add slide classes

More modular