add support for DISPLAY_CATEGORIES_ON_MENU setting