sidedriver: fixed a bug in calculating rot. speed (overflow/underflow)