Move badge descriptions to sidebar
Fix bug in if statement