Fix error in core-header-panel

"Cannot read property 'outerScroll' of undefined" because configs isn't defined on line 228.