adding next/previous page functions.

Signed-off-by: Brandon Ewoldt <bewoldt1@gmail.com>