reformat sidebar content