R4: Some style and bug fixes for sidebars