Add improved pager (fixes #1 by @ryancramerdesign)