Use standard document top for detailed guides

The main impetus behind this change is the need to display extra meta-data on some detailed guides.

Removed lots of bespoke code for detailed guides.