Assuming I've deduced the problem correctly, it seems that the CSS min-screen
width compensates for a scrollbar (as would be expected), while JS doesn't seem to do the same :(
I'm using Firefox on Mac OSX. I'm not sure if this is browser specific, but I'm wondering if there's a universal solution to this problem.
I've made a JS fiddle to demonstrate the problem. In my browser, there's is a 15px difference between the width calculated by the CSS and my JS.
Anyone encountered this before?