realigning checkboxes and changing them into a list