center should have been a mixin from the start. lazy.