Don't paginate unless we're in the DOM