Revert "simple pagination impl."

This reverts commit 006438e2e58f7a31cb6127fc66160c5300ed0157.