Move grid generation out of the "shelves" mixin.

Add centered column helpers.