pagination implemented for transhist pages