added width/height parameters to adjust the slider size
added support for multiple sliders in same page