Please note the shared folder you see isn't limited to my account. It's a shared link open for access to anyone with google account. So whenever I click on the shared link it always open with default account in the browser and you cannot switch to other account without losing the contents.
So my college shared slides folder on google drive. Whenever I click on the link it opens with my default google account. And when I switch to other google account by clicking on the top right corner, the contents do not get carried over to this account instead it just opens google drive for other account in new tab without the shared content.

