Displaying collaborator and tag headers on the sidebar only when there are elements