This function aligns all marked layers (see chapter 4.7 and chapter 7.5.44 and following) at next border of the active layer by moving them horizontally.