If a page has been scanned in upside down or at 90 degrees, you can simply rotate the page, by clicking the rotate left or rotate right buttons from the toolbar.