Update hSlider.js

Added support for vertical sliders