Docs update for *_{previous|next}_page variables

Adds documentation for `*_{previous|next}_page` variables that were added in #979.

Fixes #1360