slider implemented

added the slider feature to enable users to choose a specific confidence