Remove "script" and "styles" from some file names.
Exclude the scrollbars when measuring the viewport. Closes #34.