So everything looks ok now?I was probing at different place sorry my mistake
Note that the high frequency oscillations you are seeing at the output of the switch is due to the stray inductance and capacitance in the circuit.
A RC snubber to critically damp the circuit can eliminate them if desired (try 150Ω and 50nF in series from each switch output to ground).
Last edited: