add toggles for compact mode and starred layers