added anchor mode option for layout parts