Instead of having the position of the window fixed, a could be passed to the function to open the window in wherever we want:
:vertical ScoutFiles
See :h mods.
:h mods