Overhaul centering logic.

[Resolves #142]
Merge pull request #143 from joelhawksley/jh/142-blog-centering

Overhaul centering logic.