fix sidebar to not emit as much whitespace