reordered cells so next block displays properly