Infinite Menu Scrolling Issue

I’m new to actionscript

I have followed the Infinite Menu tutorial with success. However I want to have the scrolling action reverse directions. For example if I move my mouse to the left the scrolling goes to the right or vice versa. This is probably an easy fix however I’m not getting it to work. Here is the code

onClipEvent (load) {
xcenter = 444.8;
speed = .0030;
}
onClipEvent (enterFrame) {
var distance = _root._xmouse-xcenter;
_x += (distancespeed);
}
onClipEvent (enterFrame) {
var distance = _root._xmouse-xcenter;
_x += (distance
speed);
if (_x>0) {
_x = -889.5;
}
if (_x<-889.5) {
_x = 0;
}
}
Note clip with is 889.5 and mid is 444.8

If this has already been answered please send me a link

Thanks