Formatting sidebar output.