How to remove these (screenshot) unpinned items (red box in image) from window 10 navigation?

So I have this side window navigation panel where I don’t want to see these "quick access" items as if I want to see them I can just click on quick success. So how can I remove these unpinned items but still keep quick access items in quick access on the top listed folder? I want them to never show up on this navigation bar ever again. I hope there is some registry edit way to fix this.

enter image description here