changes to pagination

Signed-off-by: Danny <dannyholt@me.com>