[lib] forms : init lastVal correctly for sliders