allowed layers visibility to be toggled

probably took me a few weeks longer then it should have, but eh