Improves dynamic pagination