Clean up sidebar markup