It is usually caused by the ringing of the tank formed by the stray capacitance and inductance in the circuit. It can be minimized by short connections for all leads carrying the switching currents, including the switching transistor and flyback diode, and a good ground plane. A RC snubber circuit of the proper values can also be use to minimize the ringing.
It can also be from not connecting the scope probe ground directly to the ground near the switching elements.