Adjusted layout of slider slightly to include a 10px buffer at either end. This allows us to then detect a click on the legend near either end of the slider and move it to the min or max value. This provides better usability for the slider.