Request new function in sidebar for Firefox

I would like ask for addition of cement function for better comfortable browse folders bookmarks in sidebar namely auto- close before open folder after opening after folder. This be possible to set in old Firefox by the help of extension Autoclose Bookmark&History Folders.

Description missing function:

  1. show sidebar
  2. click on folder1
  3. click on bookmarks in forder1
  4. click od folder2 and autoclose folder1
  5. click on bookmars in folder2
  6. click od folder3 and autoclose folder2
  7. click on bookmars in folder3
    New%20function

Description current state:

  1. show sidebar
  2. click on folder1
  3. click on bookmarks in forder1
  4. click od folder2 and stay opened folder1
  5. click on bookmars in folder2
  6. click od folder3 and stay opened folder2
  7. click on bookmars in folder3
    Current%20state

Thank for addition this function into next version Firefox or created script