updated the format of the right sidebar with panels