Switch slider from id to class

Allows the use of multiple sliders in the future