rearrange header so that notebook title lengths don't cause so much disruption

fixes #188