rewrote the jitter_x() function: it's much more effective.