Adds container to paginated pages