Small fixes to panel and accordion