Moved the collapse_sidebar_link

Fixes #5742 partially