smoothscale: Prevent negative timeouts
Smoothscale timeout depends on the scale's width and padding. Apparently in some configurations (maybe a custom theme or a custom scaling), this width can become negative. This results in a crash as a timeout cannot be negative.
Add a max bound to ensure to ensure that the width variable cannot be smaller than 1.
Closes: #244 (closed)