Layout fixes

A number of layout fixes implemented to stop overlapping content.
Tables now also show scrollbars if too large, rather than breaking the
design.