fixed issue with title widths

Fixes #1

Also updated example to show effect
Merge pull request #2 from Niggler/master

fixed issue with title widths