Fix sidebar HTML nesting