Modified toggleClassOnCollapse()
updated haxelib.json