how to align multilayered objects