Fix passing the config to the slider.
Add mobile support with Hammer.js