Functions/buttons to control Layer.Control

For all Layer controls functions for expanding and collapsing are added
and mapped to buttons