rewrote the pixel moveing function to move groups at a time. Might help speed.