Allow sugar slider to accept passed options

This allows options to be passed in through data-slider attribute and be used to configure options such as autoplay or dots.