fix turning off scrollbars on OS X