Sidebar button is now in a function

Saves changing it in each template.