hiding and showing of detector layers