added toggle support for arra of controls