Added function to display the value of my range slider.