On the first and last page, only one of the "change page" buttons are drawn.
However, the buttons are not re-drawn when you change from left-right to right-left mode, so if you immediately change the mode, the button you need to actually go to the next page is disabled, and you are stuck.