Created rs.slider function and added slider options