Fix slider bug

There was a bug where clicking (not dragging) on the slider handle
would move the slider to the left. This is because the slider-handle
element is nested inside the slider div, and so a click on the handle
would trigger the click handler registered on the slider.