Move defer block inside category listing

This allows the user to see a decent placeholder without a huge
FoUC when the request(s) resolve.