Added container to matrix visualization and pagination