Infinite Menu - help me configure

Using the tutorial found on Kirupa.com:

http://www.kirupa.com/developer/mx/infinite.htm

I am able to get this infinite menu customized for my client site, however, when the page loads the menu scrolls frantically, following the mouse obviously. What is the code to have the infinite menu remain still until moused over?

Here is the code from my customization:

onClipEvent (load)
{
xcenter=400;
speed=1/200;
}
onClipEvent (enterFrame)
{
var distance=_root._xmouse-xcenter;
_x+=(distancespeed);
}
onClipEvent (enterFrame)
{
var distance=_root._xmouse-xcenter;
_x+=(distance
speed);
if (_x > 400) _x=-206;
if (_x < -206) _x=400;
}

Thanks!
Daniel