function clamp(n, min, max) {
	    if (n < min) return min;
	    if (n > max) return max;
	    return n;
	  }
(Internal) returns the correct CSS for changing the bar's
position given an n percentage, and speed and ease from Settings