fixes page navigation offset issue.