Feature/update toggle

Add functionality to auto close open items on the same level when opening a new one.