Add code to prevent Child Toggles from being added to menus with Flyouts turned OFF

Added the .flyouts class to the line of code that adds the Child Toggle
buttons so that the buttons are ONLY added when Flyouts is turned on.