ctrl + shift + p write codex
select open codex side bar
right click → move to primary side bar
Thanks it was annoying how it happened