Arduino unknown glitch

You dont mention how you are powering the servo, so please read the two links in my signature and let us know if it helps.

Duane B