Correctly offset pages. Closes #3