reformat list on sidebar