Added social media button and refactored the sidebar templates