layout.js: Only alter panel behavior during animation when the panel
auto-hide is actually active - it 'looks' better during startup for any
non-auto-hidden panel.