progressbar: Handle boundary cases of value
progressbar: Handle boundary cases of value

Make sure value is within min-max range.

Signed-off-by: Nikolay Dimitrov <dfc921bb2213e22cc8f30fd615839493d2074dee@mail.bg>

picmaster/mikrogui