created slider control.