Altered axis mouse movement code.