implented H-loop-hysteresis

switch H continously