Fix the move_forward for negative values