reformat sidebar