Documentation and functionality for slider widget.