Fixed a bug when moving pages.

-- If a page was moved from *before* the target position, we have to
adjust the target position to account for the missing page.