Add functionality to group, unwrap, and align items.
Make alignment consider trailing space.