fix #533 Double Slider wrong value calculation on FF

This commit fixes the wrong border width calculation which was not setting max value in FF browser.