Fix to replace the deprecated jQuery.toggle(function, function, function....) with an alternative function .toggleClick(