Made vertical nav links dynamic

Vertical nav links are now fully dynamic - this is set by a flag on the
section for orientation.

This requires a database change: group_tree needs a field called
‘orientation’