Added flag in results.js to control whether or not subcategories are shown nested or not