move _loadPanelStylesheetsIfNeeded to PanelCache