Bug 1015297 - [Settings] Update to use gaia-header

Hi Wilson, after discussing with Arthur, we think this file should be intact and we can move these logics back to `PanelUtils`.