CSS bugfixing for sidepanel