added a detail shading toggle