ScrollSelectionIntoView - A small script command to automatically scroll the file display to the current selection.
I use it when toggling between details and thumbnails mode to keep the selected items visible. It won't do anything if nothing is selected.
You may add it to your view-toggle button as I did or put it in a new button to have this separately available. It is nice for buttons where you set a show- or quickfilter as well, I somehow can't do without it anymore. o)
My view toggle button using this command looks like this:
To install the command, download the *.js.txt file below and drag it to Preferences / Toolbars / Scripts.
After that create a separate button calling "ScrollSelectionIntoView" or edit existing view changing buttons and menues, to call it directly after any "Set VIEW.." command.