Added layer.contents use for expansion button background

A small addition allows the buttons with more interesting background