layer selector hides/shows legends