more documentation for pagination
added LimitedStack implementation