A simple pager with buffer management.