VertSlider event function rewrite + minor bug fix