add layout for avalanche effect