Changes slider to take in an options object instead of individual params