Update layout-elements.md

`mode` is an attribute on a header panel, not an element
Merge pull request #644 from xpe/patch-1

Correct small typo on layout-elements.md