The commit message could be clearer (maybe-x-aligned-side's docstring is a good explanation), but otherwise LGTM.