HorizontalScrollbar buttons go to minimum and maximum only?

Well my problem is that I want the scrollbar to scroll with steps, but it scrolls instantly to the end or to the start when pressing scrollbar buttons.

I’m not sure if I have set up it properly, because the size value seems to do nothing usefull.

value=GUILayout.HorizontalScrollbar(value,1,1,5);

Any help? Thanks!

uhm i think i got it sorted, i had to do some conversions, because the step size is 10