refactored all sidebar sections to use same template