cleaned up contents_alignment code a bit
The manual works with the positioning refactoring :-D