fixed browser width calculation bug in Firefox
Merge branch 'master' into gh-pages