Update irrobot.ino

Updated check on speed if robot is changing from backward to forward.