Shortcut to toggle Browser layout (horizontal v vertical)

would it be possible to add a toggle shortcut (Ctrl+Alt+8) to switch between horizontal and vertical layouts? The auto feature is nice, but sometimes it doesn’t pick the proper layout and I have to manually change it. I really like the way this addon used to function

When is that? Perhaps we should be tweaking the logic that decides which layout to pick instead.