The variable, maxLeftWidth, was not defined.  This is a nasty bug that wasn't surfacing except on very high resolution monitors.  Need to start using strict mode to catch variables that haven't been declared!