groundwork for layer toggling
layer toggle